package com.qumitech.visualnovel.service.novel;

import com.qumitech.visualnovel.model.common.BaseResponse;
import com.qumitech.visualnovel.model.dto.BookQueryDTO;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.qumitech.visualnovel.model.dto.ResourceUpdateDTO;
import com.qumitech.visualnovel.model.dto.ResourceQueryDTO;
import com.qumitech.visualnovel.model.dto.ResourceRelationOptionsDTO;

public interface ResourceService {
    BaseResponse upload(HttpServletRequest request);
    void download(HttpServletResponse response, String filePath);
    BaseResponse delete(Long id);
    BaseResponse update(Long id, HttpServletRequest request);
    BaseResponse updateAttrbute(Long id, ResourceUpdateDTO param);
    BaseResponse list(ResourceQueryDTO param);
    BaseResponse relationOptions(ResourceRelationOptionsDTO param);
    BaseResponse relationList(Long id);
    BaseResponse bookList(BookQueryDTO param);
}
